package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcRfidReaderGroupBind;
import com.csun.cmny.provider.model.vo.rfid.DmcRfidReaderVo;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-08-22 14:59
 * @Description: the interface dmc rfid reader group bind service
 */
public interface DmcRfidReaderGroupBindService extends IService<DmcRfidReaderGroupBind> {

    /**
     * query rfid reader not bind rfid reader group
     *
     * the rfid reader bind location
     *
     * @param groupId   the group id
     *
     * @return  the list
     */
    List<DmcRfidReaderVo> queryNotBindRfidReader(Long groupId);

    /**
     * check rfid reader bind rfid reader group by rfid reader id
     *
     * @param deviceId  rfid reader id
     *
     * @return  true-未绑定 false-已经绑定
     */
    boolean checkRfidReaderBindGroupById(Long deviceId);
}
